import { IFeidaoAiNodejsComponent } from '@feidao-factory/atom-nodejs/interfaces';
import nodejs from '@feidao-factory/atom-nodejs/msg/nodejs';

export default async function na004(fd: IFeidaoAiNodejsComponent, ...args: any[]) {
	try {
		const ret = await nodejs(fd.data.actionid, fd.data.sessionid, fd.data.spaceid, 'nodejs-msg/zj-000001/s001', { filter: { aaa: '4455' } });
		return {
			flag: '查询字段不存在',
			msg: JSON.stringify(ret)
		};
	} catch (err) {
		return {
			flag: '查询字段不存在',
			msg: (err as Error).toString()
		};
	}
}
